﻿using Commission.Models;
using Commission.ViewModels;
using ContosoUniversity.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Commission.DAL
{
    interface ICustomerRepository : IDisposable
    {
        IEnumerable<Customer> GetCustomers();
        Customer GetCustomerByID(int? customerId);
        bool InsertCustomer(CustomerProduct customerProduct, Customer login, ActionMode mode);
        void DeleteCustomer(int customerID);
        void UpdateCustomer(Customer customer);
        void Save();
    }
}
